package com.zh.system.domain.dto;

import com.zh.web.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel("确认消息Dto")
public class ConfirmMessageDto extends BaseDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "消息Id", required = true)
    @NotNull
    private Long msgId;
    @ApiModelProperty(value = "接收者Id", required = true)
    @NotNull
    private Long toId;
}
